package com.homedo.odin.solution.dao;

import com.homedo.core.common.base.dao.BaseDao;
import com.homedo.odin.solution.model.entity.Attachment;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * <p> 文件附件信息表 Mapper 接口 </p>
 *
 * @author HarveyDing
 * @since 2018-03-08
 */
public interface AttachmentMapper extends BaseDao<Attachment> {

    void delAttachmentByBusinessId(@Param("businessId") Long businessId, @Param("businessType") Integer businessType);

    List<Attachment> queryAttachmentByBusinessId(@Param("businessId") Long businessId,
            @Param("businessType") Integer businessType);
}